package com.homestay.dao;

import com.homestay.beans.Books;
import com.homestay.beans.Order;

import java.util.List;

public interface BooksDao {
    int add(Books books);

    List<Order> query(String name, String card, String phone);

    int delete(String id);

    Order queryById(String id);

    int update(Books books);

    int updateExitTime(String id);

    Books queryBookById(String id);

    Books queryBookByVipId(String id);
}
